<!--导航栏-->
<div class="row-fluid">
    <div class="navbar no-margin">
        <div class="navbar-inner">
            <ul class="breadcrumb">
                <i class="icon-chevron-left hide-sidebar"><a href='#' title="Hide Sidebar" rel='tooltip'>&nbsp;</a></i>
                <i class="icon-chevron-right show-sidebar" style="display:none;"><a href='#' title="Show Sidebar"
                                                                                    rel='tooltip'>&nbsp;</a></i>
                <li>
                    <a href="#/smart">首页</a>
                </li>
                <li class="active">业务应用</li>
            </ul>
        </div>
    </div>
</div>

<style type="text/css">
</style>

<div style="margin: 10px">
    <div style="margin: 0 10px 10px 0; float: right;">
        <a href="#/smart/query/smart_query_add/id/0"> 创建应用 </a>
    </div>
</div>
<div class="container-fluid">
    <div style="margin: 10px">
        <div class="row">
            <div style="margin: 10px 10px 10px 400px; ">
                <input type="text" ng-model="vm.p.search" style="width:700px;height:32px" placeholder="请输入名称、ID、标签等关键字">
                <button class="btn btn-primary" style="display: inline-block;" ng-click="searchItems()">搜索</button>
            </div>
            <div class="col-sm-12 col-md-12 main" style="float: right">
                <label style="float: right">耗时：{{vm.result.ms}}ms</label>
                <table id="list_table" class="table table-condensed"
                       data-toolbar="#toolbar"
                       data-search="true"
                       data-show-toggle="true"
                       data-show-columns="true"
                       data-show-pagination-switch="true"
                       data-pagination="true"
                       data-search-align="left"
                       data-buttons-align="left"
                       data-toolbar-align="left"
                       data-side-pagination="client">
                    <thead>
                    <tr>
                        <th data-field="id" data-sortable="true" data-formatter="queryCmdIDFmt">操作</th>
                        <th data-field="queryCode" data-sortable="true" data-formatter="queryCodeFmt">应用ID</th>
                        <th data-field="queryName" data-sortable="true" data-formatter="queryCodeFmt">应用名称</th>
                        <th data-field="app" data-sortable="true" >业务应用</th>
                        <th data-field="queryName" data-sortable="true">应用状态</th>
                        <th data-field="queryName" data-sortable="true">服务资源组</th>
                        <th data-field="queryName" data-sortable="true">标签</th>
                        <th data-field="owner" data-sortable="true" >负责人</th>
                        <th data-field="lastOperator" data-sortable="true" >最后操作人</th>
                        <th data-field="updateTime" data-sortable="true" >更新时间</th>
                        <th data-field="createTime" data-sortable="true" >创建时间</th>

<!--                        <th data-field="queryCmd" data-sortable="true">查询命令</th>-->
<!--                        <th data-field="queryParam" data-sortable="true">查询参数</th>-->
<!--                        <th data-field="queryComment" data-sortable="true">功能说明</th>-->
<!--                        <th data-field="datasourceType" data-sortable="true">数据源类型</th>-->
<!--                        <th data-field="evnStatus" data-sortable="true" data-formatter="evnStatusFmt">数据源环境</th>-->
<!--                        <th data-field="project" data-sortable="true" >项目空间</th>-->
                    </tr>
                    </thead>
                </table>
            </div>
        </div>
    </div>
</div>
